package jiang.jredis.starter.annotation;

import jiang.jredis.starter.RedisCacheAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

import java.lang.annotation.*;

/**
 * 两级缓存启用注解
 * 使用此注解会启用RedisCache中两级缓存相关的自动配置
 * @see RedisCacheAutoConfiguration
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableCaching
public @interface EnableDoubleCaching {
}
